﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja opisujaca zawartosc portfela danego gracza
    /// po rozegranej danej grze
    /// </summary>
    public partial class Wallet
    {
        public Wallet()
        {
        }
        /// <summary>
        /// Konstruktor parametrowy encji portfela
        /// </summary>
        /// <param name="credit">Kredyt</param>
        /// <param name="debit">Debet</param>
        /// <param name="game_id">ID gry</param>
        /// <param name="user_id">ID uzytkownika</param>
        public Wallet(System.Int32 credit, System.Int32 debit, System.Int32 game_id, System.Int32 user_id)
        {
            this.creditField = credit;
            this.debitField = debit;
            this.game_idField = game_id;
            this.user_idField = user_id;
        }
       
        private System.Int32 creditField;
        /// <summary>
        /// Kredyt
        /// </summary>
        public System.Int32 credit
        {
            get { return this.creditField; }
            set { this.creditField = value; }
        }
        
        private System.Int32 debitField;
        /// <summary>
        /// Dabet
        /// </summary>
        public System.Int32 debit
        {
            get { return this.debitField; }
            set { this.debitField = value; }
        }
        
        private System.Int32 game_idField;
        /// <summary>
        /// ID gry
        /// </summary>
        public System.Int32 game_id
        {
            get { return this.game_idField; }
            set { this.game_idField = value; }
        }
        
        private System.Int32 user_idField;
        /// <summary>
        /// ID uzytkownika
        /// </summary>
        public System.Int32 user_id
        {
            get { return this.user_idField; }
            set { this.user_idField = value; }
        }

    }
}

